Skip to content

fix: align allowed paths settings schema#30

Merged
aliou merged 1 commit intomainfrom
fix/allowed-paths-schema
Apr 29, 2026
Merged

fix: align allowed paths settings schema#30
aliou merged 1 commit intomainfrom
fix/allowed-paths-schema

Conversation

@aliou
Copy link
Copy Markdown
Owner

@aliou aliou commented Apr 29, 2026

Fixes #28


Summary by openai-codex/gpt-5.5:low:

Summary

  • Fix pathAccess.allowedPaths settings UI to read and write string[] instead of pattern objects.
  • Add migration for configs written as { pattern: string } entries.
  • Normalize allowed paths during config merge and grant persistence.
  • Add tests and patch changeset.

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm lint

Closes #28

@aliou aliou merged commit 562e90f into main Apr 29, 2026
1 check passed
@aliou aliou deleted the fix/allowed-paths-schema branch April 29, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allowedPaths type mismatched between setting TUI and when it was read

1 participant